package cn.itsource.controller.feign;


import cn.itsource.domain.order.vo.OrderPriceCountVO;
import cn.itsource.feign.order.OrderPriceCountFeignClient;
import cn.itsource.mapper.OrderPriceCountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class OrderPriceCountController implements OrderPriceCountFeignClient {

    @Autowired
    OrderPriceCountMapper orderPriceCountMapper;

    @Override
    public List<OrderPriceCountVO> orderPriceCount() {
        return orderPriceCountMapper.orderPriceCount();
    }
}
